<?php
//	$option = array(
//					'siteName'=>'',
//					'siteDesc'=>'',
//					'siteKeyword'=>'',
//					'postCode'=>'',
//					'companyAddr'=>'',
//					'companyTel'=>'',
//					'companyPhone'=>'',
//					'companyEmail'=>'',
//					'companyQQ'=>'',
//					'sinaWeibo'=>'',
//					);
?>
<div class="box">
	<div class="hd">网站基本设置 &darr;</div>
	<div class="bd">
          <?php echo form_open('admin/basic_manag/add_basic');?>
          <table class="formtable">
              <tr>
                  <th>网站名称:</th>
                  <td><input type="text" size="50" name="option[siteName]" value="<?php echo $option['siteName'];?>" /></td>
              </tr>
              <tr>
                  <th>网站描述:</th>
                  <td><textarea name="option[siteDesc]" rows="2" cols="60"><?php echo $option['siteDesc'];?></textarea></td>
              </tr>
              <tr>
                  <th>网站关键字:</th>
                  <td><textarea name="option[siteKeyword]" rows="2" cols="60"><?php echo $option['siteKeyword'];?></textarea></td>
              </tr>
              <tr>
                  <th>公司地址:</th>
                  <td><textarea name="option[companyAddr]" rows="2" cols="60"><?php echo $option['companyAddr'];?></textarea></td>
              </tr>
              <tr>
                  <th>邮编:</th>
                  <td><textarea name="option[postCode]" rows="2" cols="60"><?php echo $option['postCode'];?></textarea></td>
              </tr>
              <tr>
                  <th>公司固定电话:</th>
                  <td><input type="text" size="50" name="option[companyTel]" value="<?php echo $option['companyTel'];?>" /></td>
              </tr>
              <tr>
                  <th>公司手机(多个请用|隔开):</th>
                  <td><input type="text" size="50" name="option[companyPhone]" value="<?php echo $option['companyPhone'];?>" /></td>
              </tr>
              <tr>
                  <th>公司EMAIL:</th>
                  <td><input type="text" size="50" name="option[companyEmail]" value="<?php echo $option['companyEmail'];?>" /></td>
              </tr>
              <tr>
                  <th>公司QQ(多个请用|隔开):</th>
                  <td><input type="text" size="50" name="option[companyQQ]" value="<?php echo $option['companyQQ'];?>" /></td>
              </tr>
			  <tr>
                  <th>新浪微博:</th>
                  <td><input type="text" size="70" name="option[sinaWeibo]" value="<?php echo $option['sinaWeibo'];?>" /></td>
              </tr>
              <tr>
                  <th>&nbsp;</th>
                  <td><?php echo form_submit(array('name'=>'saveSettingSubmit','value'=>'保存网站设置','id'=>'saveSettingSubmit')); ?></td>
              </tr>
          </table>
          <?php echo form_close();?>
      </div>
</div>